package com.zg.common.core.dao.scf;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zg.common.core.dao.IDao;
import com.zg.common.core.dao.scf.entity.Credit;
import com.zg.common.core.dao.scf.entity.PortPlan;
import com.zg.common.core.dao.scf.entity.Product;
import com.zg.common.core.dao.scf.mapper.PortPlanMapper;
import com.zg.common.core.dao.scf.mapper.ProductMapper;
import com.zg.common.core.req.PageReq;
import org.springframework.stereotype.Component;

/**
 * <p>Description: </p>
 *
 * @author zhanfeng.liang
 * @since 2025/5/21 20:49
 */
@Component
public class ProductDao extends ServiceImpl<ProductMapper, Product> implements IDao<Product> {

    public Page<Product> pageInfo(Page<Product> page,
                                 PageReq pageReq){
        return getBaseMapper().page(page,pageReq);
    }

}
